import { App } from 'vue';
import AntdGenerateForm from './core/antd/AntdGenerateForm.vue';
import Icons from './icons';
//import './styles/index.styl'

Icons.install();

AntdGenerateForm.install = (app: App) => {
  app.component(AntdGenerateForm.name, AntdGenerateForm);
};

const components = [AntdGenerateForm];

const install = (app: App) => {
  components.forEach((component) => app.component(component.name, component));
};

export { install, AntdGenerateForm };

export default {
  install,
  AntdGenerateForm
};
